<?php

namespace App\Http\Livewire;

use Livewire\Component;

class ChatWindow extends Component
{
    public $chatMessages;

    public function mount($chatMessages)
    {
        $this->chatMessages = $chatMessages;
    }

    public function render()
    {
        return view('livewire.chat-window');
    }
}
